#include <iostream>
using std::cout;
using std::endl;

//Args代表模板参数包
//args代表函数参数包
//省略号在包的左边理解为打包
template <class ...Args>
void print(Args ...args)
{
    cout << "sizeof...(Args) = " << sizeof...(Args) << endl;
    cout << "sizeof...(args) = " << sizeof...(args) << endl;
}

void test0(){
    print();
    print(3,8.9);
    print(1,"hello",'c',5.6,true);

    cout << endl;
    print(1,"hello",'c',5.6,true,10);
}

int main(void){
    test0();
    return 0;
}
